package kr.co.doriclassic.pro08_01;

public class Test {
	public static void main(String[] args) {
		System.out.println("==========1)============");	
		Circle circle1 = new Circle();
		circle1.setR(10);
		circle1.area();
		System.out.println(circle1);
		System.out.println("==========2)============");				
		Book book1 = new Book();
		book1.setsTitle("흔들리지 않는 꽃이 어디 있으랴");
		book1.setsAuthor("도종환");
		System.out.println(book1);
		System.out.println("==========3)============");		
		Dice dice1 = new Dice();
		dice1.roll();
		System.out.println(dice1);
		System.out.println("==========4)============");		
		Point point1 = new Point();
		point1.set(3, 2);
		point1.print();
		System.out.println("==========5)============");		
		Employee employee1 = new Employee();
		employee1.setsName("홍길동");
		employee1.setsPhone("010-333-4444");
		employee1.setiSalary(30000000);
		System.out.println(employee1);
		System.out.println("==========6)============");		
		BankAccount bank1 = new BankAccount();
		bank1.deposit(20000);
		System.out.println("bank1의 잔액"+bank1);
		BankAccount bank2 = new BankAccount();
		bank2.deposit(5000);
		System.out.println("bank2의 잔액"+bank2);
		bank1.transfer(10000, bank2);
		System.out.println("bank1의 잔액"+bank1);
		System.out.println("bank2의 잔액"+bank2);
		System.out.println();
		System.out.println("==========7)============");
		Average avr1 = new Average();
		avr1.setAverage(100, 200);	
	} 
}
